<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>加入闯关课程页</title>
		<link rel="stylesheet" href="../../css/timecontrol.min.css" />
		<link rel="stylesheet" href="../../css/base.css"/>
		<style>
			.code_content {
				margin-top: 166px;
				padding: 2px 6px;
			}
			.code_content > input {
				-webkit-user-select: text;
				-webkit-box-sizing: border-box;
				-moz-box-sizing: border-box;
				box-sizing: border-box;
				line-height: 21px;
				width: 100%;
				height: 25px;
				margin-bottom: 15px;
				padding: 2px 15px;
				background-color: #EEEEEE;
				border-radius: 3px;
				border-left: unset;
				border-top: unset;
				border-right: unset;
				border-bottom: 2px solid #18b4ed;
				font-size: 16px;
			}
		</style>
	</head>
	<body id="main" >
		<div class="base_style_color " id='BarAppearance' style="height: 22px;width: 100%"></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar ">
			<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span id="title">加入闯关课程</span>
			<a class="base_right_item nav-item" href="#" onclick="submitInputValue()"> 提交 </a>
		</div>
		<div class="code_content">
			<input type='tel' name='code[]' class='now' id="code" maxlength="6"   onkeyup="value=value.replace(/[^\d]/g,'')    "placeholder="请输入邀请码"/>
		</div>
	</body>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script src="../../script/mui.min.js"></script>
	<script src="../../script/common.js"></script>
	<script src="../../script/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="../../script/requestTool.js"></script>
	<script type="text/javascript">
		//设置每个input的内容为空
		function inputEmpty() {
			$(".code_content").find("input[name='code[]']").val("");
		}

		function submitInputValue() {
			var input = document.getElementById('code').value;
		}

		function backClick() {
			api.closeWin({
			});
		}
	</script>
</html>
